package com.gouda.temporary.service;

import com.gouda.temporary.vo.InviteLog;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;
import java.util.List;
import com.gouda.temporary.dao.InviteLogMapper;
import org.springframework.stereotype.Service;

/**
 * TODO
 * @author 
 */
@Service
public class InviteLogService {
	@Resource
	private InviteLogMapper inviteLogUse;
	//修改
	public int  updateInvite(InviteLog inviteLog){
		return this.inviteLogUse.updateInvite(inviteLog);
	}
	//添加
	public int addInvite(InviteLog inviteLog){return this.inviteLogUse.addInvite(inviteLog);}
	//查询
	public List<InviteLog> selectInvite(@Param("inviteId") String inviteId ){
		return this.inviteLogUse.selectInvite(inviteId);
	}

	//根据主键查询
	public InviteLog selectInvitebyid(@Param("Id") Integer Id ){
		return this.inviteLogUse.selectInvitebyid(Id);
	}

}